Change syntax of platform testing for unit test running on Travis