added exception test