Fix a few tests that depended on the wrong algorithm check