Adding tests and coveralls reporting