added main to testmgr