add test code for sqlite and filelock