Fixes #18 -- invalid JSON behavior test