add rspec and verified functionality