tests: make lots of main functions public