Test main replaced by testmain