compute Local
update tests for Local