Refactors JSON test suite.
travisplexer: pr-507-linux travis ci test