added test for Algorithms