Restore broken test unrelated to multidb support
Corrected test for FETCH_BY_ID