Fix missing inlineCallbacks on a test method

Based from d758f59ab93303265a08e0f9462f1741f2585339