Prototype of integration tests [NOT REALLY A PULL REQUEST]

I don't intend for this to be merged. I will close the PR in a few days. It is just to let people see the prototype I was a talking about in the engineering meeting.