adapted test_algorithms to new paths