Add tests for discourse