add tests for raising exception from s.fn.make_fn_type decorated functions