Hello,
I presume that your initial condition includes "A = A0" so that the algorithm is run on the fixed value provided by A0. Instead, make A0 an additional variable that is never changed by the algorithm (but you will refer to it in your correctness condition) and write an initial condition that allows A0 to take any sequence in the set you are interested in. Something like
TestData == {-5, 0, 27, 42}
TestSequences == UNION { [1..n -> TestData] : n \in 0 .. 4 }
Init == A0 \in TestSequences /\ A = A0 /\ ...
Don't forget to add A0 to the UNCHANGED clauses in your actions.