Simplified test execution code and avoids expression trees so that there's a chance this could work on iOS and to speed up test execution a bit.