Fix typo in AlgorithmTest.py

Refs #8971
Merge branch 'feature/8971_cancel_algs_from_script' into develop