Add tests, travis and coveralls