added rspec custom matcher