test namespace and query