Test namespace stack popping