fixes for codeception to run correctly in travis-ci