unit testing and travis configuration added