Modify tests to work in environments where not all algs are supported