Refractored Rspec Tests