templates copied from trust: tester