db manager test