fixed test running for travis