Added extra tests for data validation.
Added docs for data validation.
Prep for release 0.2.2.