Add test of failure case