arrayToThunk is extraneous or poorly tested