Test fix for empty DB