Rspec for caesar method