changed test for json type content