There are a couple of issues with doing it this way:

1. If the test for endswith fails then the code to check for visibility won't get run, thereby losing coverage. This is why in other situations we have two different tests, one for accuracy and one for visibility.

2. Specifically for this visibility test, we aren't collecting failures as we are in the accuracy test above, so if one like fails visibility none of the others will be tested, again losing coverage.