Added exception test to smoke test