[minor] change the test output from s to ms
[doc] add diagrams and finised doc