megacli: test rewritten to use data arrays as input