Adding better JSON type tests.