first test for queries#index, route, and queries#index method