fixed test

sqlite3 is not required.

`find` method returns generator. When cursor is still reading,
any write to database would cause mess.

Actually the test didn't pass before the fix. `list` completes the
cursor reading before any writing action.