added tests
L2 is now a little bit smarter about what variables it spills and to which offsets.