Some clean up.

Improved documentation. Got rid of trailing test. Added first test.
(pass)