Remove unused test helper code