Implement transaction retries
Set log level to info by default
Add test function to user namespace