Rename test.out.in to full_output.txt.in
Add halt tests
Fix error code not being reset on return