Also makes the test cases platform independent. Signed-off-by: Rick Wieman <git@rickw.nl>
Signed-off-by: Martijn Dwars <ikben@martijndwars.nl>