Pls review updated fix for dynamic update of test panel.
Minor update to allow the panel to track the actual object under execution. The test tree sometime has a temporary or previous copy.
Use case which was broken:
Click on test in tree (right panel shows that test). Right click it and run it. As it runs, click on a folder in the tree, then back on the running tests. At that last step, it will probably show the old, non-executing test result. This code change fixes that.
Note that an example test is also updated in this rev, it provides a way to test it, since tests usually execute too fast to observe.