fix failing on travis, and added first spec