Fix Namespace test cases to improve precision