Updated Mock objects to allow for throwing of their respective errors.