Remove erroneous testing code