programming test using sinatra