Add script to test in travis-ci