Parametrize by a function which takes the strings