implemented AsyncQueryHandler test