fixing rspec testing