Add a missing import
Flush after creating each TestCase
Add an Update.test_cases property
Set t = transaction in pshell
Close a span
Display test cases in the update template