Add unit-test and travis