unit testing for libjson in progress