Added specs for sinatra app. Added method to add mock operation via sinatra app.