added initial unit test for transaction add controller