test util supports default options
avoid unnecessary storing function as objects