Change example and test to specify local data, computation