add an ert test runner function