requires JSON for test