I don’t think you can in a single test; pgTAP was written long before this feature existed, and generally assumes all tests run in a single transaction. Perhaps you could write other procedures that do the testing and control the transactions?
I’m guessing here, as I’ve not messed with procedures yet myself.
Best,
David