Wrap methods with maybeDeferred

Converts any exceptions into failures.
Added tests for experiment running.