add DB methods
add DBImpl tests