add tests/implementation for transaction relationships
Merge pull request #23 from dglunz/transaction_relationships

add tests/implementation for transaction relationships