Added multi-store transaction tests, wait for transaction storage to complete before returning