Add test setting script for Travis CI
Fix exit status code to be 1 when test fails
Merge pull request #4 from xKerman/travis-ci

Add test setting for Travis CI