Reducing repetetive test code
Execution type is now correctly determined from method return type