[DB] decided against returning a reference.
[DB] Added a testing framework.