Extended dev sample to check whether custom attributes survive state shifting.