Add optional database cleaning transaction around examples