These tests can be written shorter, using `shoulda-matchers`. Take a look at Vinh's code for reference.