Added few rspec tests