algs tests