Removed some obsolete test code