database tests, rudimentary data structures