with rspec tests using shoulda-matchers