testAlgorithms