test provider exceptions