refactored testing for shoulda-matchers.