Add nose tests to validate Exception raising.