Addressing the random failure of the spec on Travis