Remove dead test code