Validate queries param between 1 and 500 for Sinatra tests