Wrote some test cases using UI threads. Updated some UML.