Testing a Sinatra app with an api backend - based off Service Oriented Design with Ruby and Rails