adding IfProcessor and test