[ui] Improved the TestOutlineView class to avoid raising a NullPointerException. (Issue #24)