Add tests and coveralls