Fix specs to work on travis