test: added travis CI & more unit tests