Use shared examples in rspec