Updated rspec testing