hwtests: test for srawix instruction, including carries

Why the declaration outside of the for loop?