fixes for test/coveralls/travis