Start writing unit testing

Adde travis-ci job definition