Test for changing both location attributes at he same time.