created a unit test and a travis configuration file