dbFunctions UnitTests