refactors asyncTestDiscourse to bind context as self

this change is indirectly tested by all the tests using asyncTestDiscourse