added rspec options and changed the tests