Detailed guide to automate unit tests