unit test of Sequence Diagram and Raphael