test exceptions pass