testing functionality after the conversion of a sinatra app into a rails app