fix linking of ./test w.r.t. TxnCompleteHooks #107