Add test that checks expected json output, which currently fails.