Updated test to use new rspec matchers