Writing unit tests guide

[skip ci]