Test resetting historyArray