Send various malformed JSON strings into the decoder for each type, and check we get an error each time.