the both cases (with and without the optional attribute) should be tested