docs and unit tests improvements
Created by: AdityaSavara
docs and unit tests improvements [//]: # (If your pull request is a fix to an open issue please add fixes #9999 to the commit comments.) [//]: # (If your proposal involves GUI improvements, add screenshots of before and after to help visualise the proposal on the fly.)