Add new register_ignores unit tests

Change-Id: Ifd877c18920fb2fe26d34396df8cfa0a9111489f
Merge "Add new register_ignores unit tests"