fixing up some specs that were problematic on travis.