add rspec for tests