Introducing tests and travis-ci capability

coverage: 49%

closes #87