Add beforeEach and After hooks for DB setup and teardown