Add exception test for invalid output models