Fixed query_engine simple test