Refactoring the soft reset tests to eliminate some magic numbers and duplication

Sorry I'm jumping right in, Jeano. I was looking around to see how things work and notice some possibilities for refactoring.