I was thinking it should be enough to check for valid params in a single test, i.e. number 2 in above tests. And a single test for invalid params i.e. number 4 in above tests. But now to think of it your tests cover more cases :). Please ignore my comment. This is good.