New unit tests added
Full db test