Added sqlite db to test.py

Ready to be threaded!