Add a test for function accumulation attribute
Update changes