Test excpetion cases.

100% coverage, bitches!