Added Rspec testing