Improving testing

Pull request to discuss testing problems in this lib. Right now, this PR
adds two simple integration tests. Unit tests should be in here as well
before merge.

So, discussion points:

* I dont feel like the go testing library expresses correctly what an
  app is supposed to do. Should we switch to a library that does pretty
  asserts?
* Integration tests make http calls, that's bad. How will we fix this?