Add unit test for namespace aware proxy