Fix docs and add array loader tests