test: support params arguments to init functions