Fix unit tests for trigger.changemgmt. (fixes #115)