fixup! tests: refactoring: Use set_config consistently
fixup! Allow passing a numpy array as a template to match functions