Add test to cover new exception responses