* added namespace caching test for attributes and fixed some bugs in namespace caching