multi-ary lubs. loop tests compile but compute wrong result