Tested w1 pytest for name_to_func