generic_spec: create test for #get_generic