Why do this? Isn't better to work with testAttribute only? Change, or not change value and return it.