Fixes for TwoStateFanoutExample

Wait until the entire plan has run to print the tracing results.
Bump timeouts for TestContext

Sometimes these tests timeout in Travis CI, so let's bump the timeouts
to a larger value.