Unit Tested the Error Provider factory