adding test script for Travis CI
fixing Travis build failure