Changing the wait condition to be the assertion in the change location test