[server][test] Fix tests for the change of database names in 5f39c88a4.