Remove bad test code