added the done callback to the scope of the test.