test function to run real run