Attempts to fix failing spec on travis

Does not fail locally but fails when run on Travis