Update test cases to work with travis.