more database tests added