add test for 'assign and mutate'