fix tests and removed DBResult type so that we can return lists when
needed