call setup before calling test function(and compare)