Removed obsolete test code