Toplevel test runner function