remove a bunch of long-dead testing code