Updated unit tests and Travis-CI config.