fixed spec to work on travis