Test anonymous state variables.