Use Flask-SQLAlchemy
Fix unit tests. Temporary database file was not being deleted on tearDown of each test case.