dotests script