test with json type