add check for foo == foo tests in suite

If there is an inline comment at the end of such a test, the
test will not be flagged, e.g.

assert foo == foo  # quality: SKIP