Fix tests to use minitest syntax.  Also fix to correctly test recursive and non-recursive implementations.