Add Test case for traversal and query api.
Details:
	- see more about description.