Fix test timeout (for all platforms)
New test for multiple database handling.