remove unused test code