BUG: Fixed syntax in test_algorithms.py that was breaking on flake8.