[docs] Add conventions for writing unit tests.