Fixed null to object and object to null conversion bug and implemented corresponding tests
Removed unnecessary check
Merge pull request #11 from uber/null_2_object_fix

Fixed null to object and object to null conversion bug and implemented c...