documentation, tests, test utilities

Documented all of the Data assembly and added tests for the current
functionality.