Removed test debug code