change test dir;fix checkout bug;fix getLog bug;travis-ci