(feat) Fix broken tests for niave queue implementation
(fix) Broken karma unit test from last PR