[TASK] Added tests for category repository