Add integration test, and more IL building
Initial implementation of local declaration