#95 - add ResourceEncoderTest