Testing: `data` unit tests

First pass at unit testing the data object. Might need refinements.