Add tests for removeIgnores util