Added parameterized unit test