test/index.js has become an unwieldy catch-all of sorts, that could do with some cleanup and refactoring. Worth considering:
- The elimination of string literal UUID representations. Ff an attribute was persisted using dbu.testTidFromDate(new Date(datestr))), perform the subsequent assertion the same way, or better yet, reuse a well named variable.
- Restructure the tests to be less monolithic with groupings that each encapsulate some subset of functionality. For example, static columns, order-by, secondary indexes, etc.