[Closes #9] Tests.
Cleaning up. Updated docs.