Fixed ignore handling with tests