Fix test runner script for travis-ci.