Working tests + travis-ci support