Added EncoderTest.js