added tests to check if passed in ExecutionContext is being used