implementation and tests for #ignore