Added unit tests to travis configuration.