Test that trying to run a transaction inside another transaction throws an exception.