Added eception test.