TST: Ported appropriate algorithm tests from qexec.