@Test
public void increment() {

    JSONObject obj = new JSONObject();
    assertSame(obj, obj.increment("cool-beans"));
    assertEquals(1, obj.get("cool-beans"));
    obj.increment("cool-beans")
            .increment("cool-beans")
            .increment("cool-beans");
    assertEquals(4, obj.get("cool-beans"));
}