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
Use boolean for exit

It is portable rather than number.
Use boolean for exit code

Number is not potable.