Fix tests for Discourse 1.0.1