JSON parser should handle negative number

The JSON parse() method failed to parse the negative value -1.
Fixed issue and added unit tests around the case
If you want to test the exception because the specification says which one should be thrown then fine, but don't test the message which might change and doesn't add any value to your fix. Check the type of the exception in the catch clause and return true/false.