[tor-commits] [tor/master] Move some useful unittest functions to a testhelper.c file.