Added inverce exception test