trying some different testing strategies to make tests not hang on travis-ci