Fixed dead path test.

The fix in f61b9d5 does not make sense. AFAIS the intention is that dead code paths still count. You get a dead code path by flipping the if and elif condition.