removed unused import on model.py
changes on unittest.fixtures and fixtures tests
moved testable database object to class level