tests: Fixed Testbug for travis CI.