Unit test for attr_fn_ll