Added Exception test.