Discussion integration tests

Needs another review please...