changed db to sqlite testing  prepared for MongoDB