add Rspec class methods