Test UserName detection in queries
Introduce Alternative TransactionWrapper