clean up useless test code