Unit test on Soukaina's implementation fails