add rspec testing