I just had a look at the TestManifest class of manifestparser.py and it's true it makes checks if a test exists, but unlike here, it just ignores it, if the test doesn't exist.

https://github.com/mozilla/mozbase/blob/master/manifestdestiny/manifestparser/manifestparser.py#l750

I assume that is the reason for this line.