Test of active record and Sinatra