Add test setup to reset the exception policy before each test.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Unit tests for custom exception policy

Signed-off-by: OwenPatey <owen_patey@hotmail.com>