Fixed JSObject(null) and added tests
Merge pull request #1 from JamesHutchison/None_null_fix

Fixes JSObject(null)