Use a new function to make sure we wait until the client attribute exists before asserting its value.