added more test cases
fixed travis-ci build script