tests fixed, logging mixin, transactionality improvements, etc.