I'll try it. I think the problem may be that it returns true if everything is OK, and if not, it returns an array, causing assert false to complain about boolean.

I could rewrite it to not have a variable return type. That's just how the code already worked. thoughts?