fix testJSON
Merge pull request #182 from JohnMcLear/socket-migration

fix testJSON