Remove some leftover test code