Added test for other algorithm