Modified unpacking tests
Added while loop MIR tests and parsing functionality.
Also added --mir-only flag to stop after generating MIR.
(And used --mir-only for MIR tests)