[Fixes #1521] added tests for json input formatter

@kichalla @yishaigalatzer @harshgMSFT @rynowak 
`ErrorMessage = "A value is required but was not present in the request."`