remove irrelevant test code