test_modifier: fix: AddressSanitizer: alloc-dealloc-mismatch (operator new vs free)
Add extensive test to cover all possible ApplyColorModification() calls

I believe it covers all possible combinations.
It is supposed to test all and each combination, and verify that it does not crash.
Validity checking for ApplyColorModification() will be in next (separate) test.