This could be done with a single parametrized test case