fixed test for sqlite