Objective-C conditionally chaining and execution, mainly useful for testing