Acceptance tests

Fixes #315.
If we're switching to Docker-based testing soon then that's fine.