add parameterized function tests