Add test case to call instance method on result of kodata#fromJSONValue