Remove some dead test code