Fixed failing specs on travis