Add unit tests for shouldBeIgnored.