enhanced test case for unnecessary namespace usage