adding unit tests
added lock to the ignoreList