testsuite: Make test main functions `pub`, to make Windows happy