fix: better error tests for alg.ext.