Move the reset code outside of the sub-test