update test.sh for travis-ci changes