Update ContextEncoderTest.java

Testing JSON context