Added format exception test