adds a few more DB methods, tests