Remove useless test code