[Fixes #1521] added tests for json input formatter

@kichalla @yishaigalatzer @harshgMSFT @rynowak 
curious, what model state error message do we see for these cases?