Implement handle result is null from query and class for unit test member.
Implement handle result is null from query and class for unit test member #2.