Removed unused test code