Add unit test for "__type" type mark in input JSON