BAP-6643: Unit and functional tests
- Unit tests for entities, event listeners and twig extensions