add tests and bump json-fallback to 1.0.0 for mootools fix
Merge pull request #1 from segmentio/add/better-checks

Add/better checks