Added exception test