new sequence diagram and tests