added testing functionality to the travis-ci build