Finished unit tests.
Added proper comments to methods.