Discussion integration tests

Needs another review please...
Still relevant ...currently the feature is broken in code.  Awaiting dev to fix before I can implement