Feature/tests

This PR introduces tests, travis ci, code styles + linters.