Make the `err == nil` assertion *after* calling the Run method.

Fix copy and paste error in the test below.