How to move functions from closures to normal functions

I’m trying to make a pest test file easier to read.

Currently, I’ve got some standard tests:

test('can get subscribers latest subscription', function () {
    /// function code here
});

test('can get subscribers active subscriptions', function () {
    /// function code here
});

But to then remind myself what tests I’ve written, I’ve got to scroll up and down the page over and over again.

What I’d like to do is change to something like the following:

test('can get subscribers latest subscription', getLatestSubscription());
test('can get subscribers active subscriptions', getActiveSubscriptions());

function getLatestSubscription() {
    /// function code here
});

function getActiveSubscriptions() {
    // function code here
});

However, the test functions include references to $this, which is available within the normal closure, but it’s not available in the standard function as I’ve set it up here.

Is there any way to get around this?