Added unit tests for examples so far.
Clarified text.