Shouldn't this test fail with an InvalidOperationException if the result has already been set?