Attempted to fix test that fails on Travis but not locally.