Added unit testing for Json class