test case for array load/store