Add basic asserts for hashing helper functions.
Add Travis CI build and test support.