Unit tests for json bad input error text