use trial for running tests in travis-ci