Added test to JsonBuilderTest; updated fix