fixed tests to work on travis