[TASK] Refactor and cover Hooks scope with tests
[TASK] Refactor and cover ContentService with tests

Coverage is now 100%.