Move tests out of app

The tests that we have right now are integration tests, defining the
spec. Therefore, they should be outside the app.