Added tests for JSON headers