Add decoder test
Add encoder test
minor fixes to the tests
Fix Travis and update test targets.mk (64-bit only for now)
Merge pull request #121 from ekr/add_gtests

Add gtests for encoder and decoder.