Refs #9501 Exec and some unit tests

The exec method has been converted as well as many of the unit tests that check for throws