Some integration tests

Proof of concept really...