refactor --for BaseEncoderTest
Merge pull request #1469 from shihuade/APIUTV1.5.2

refactor --for BaseEncoderTest