Added tests for config option decorateElementOnModified