master
Added integration test, fixed closures naming bug