Adding docs to tests and aligning all forms

Added basic docs to all tests and aligned all functions at 2 spaces