Review: Improve DatabaseServer.cpp documentation, fix outdated behavior, and update unittests to match.