fixed tests for travis #490