remove some useless test code