Change syntax in tests for travis