add unit test project for encoderlib