Remove usage of arrow functions from shell unit test runner

Because old shells.