Fullfining the invalid format exception test