Can you provide a specific example?
You can probably use transaction control.
In Flow Mode tests (depending upon the database being used), all DML is wrapped in a transaction that is rolled back at the end of the test. E.g. you could truncate all of the tables touched by the stored procedure at the start of your test/page.
Standalone Mode has explicit transaction control commands.