First MD array test passes.  Smashed some evil bugs introduced some time ago...