testing get_query works