test with sinatra framework