trying to fix test that fails on travis but not locally