Refactor the test command, fix Travis build