OK, knowing the code, the test is not needed but for a blackbox testing, it makes sense.