Test sinatra app recieves, parses, and responds with JSON