Adding tests, travis, and coveralls.