Fix decompress test.
Fix union schema + primitive type validation
Merge pull request #3 from wision/master

Decompress test fix.