Add tests for transaction checks