Add unit test for load namespace info