Add integration tests using prosody

Fixes #18