Parameterized protocol in unit tests