various sqlite plugin test fixes - closes #1889