Removed obsolete test/debug code