Added MidnightLightning's test JSON code, adjusted slightly