more wip on database testing