display str comp output, even if expected is NULL

closes gh-29