code clean up about test.