def setUp(self):
        engine = create_engine('sqlite:///:memory:', echo=False)
        db.create_tables(engine)

        Session = sessionmaker(bind=engine)
        self.session = Session()
        self.category_repository = CategoryRepository(self.session)
    def setUp(self):
        engine = create_engine('sqlite:///:memory:', echo=False)
        db.create_tables(engine)

        Session = sessionmaker(bind=engine)
        self.session = Session()
        self.word_count_repository = WordCountRepository(self.session)