added db to the base test object

Signed-off-by: Alexander Skjolden <alex@plastboks.net>