Made user spec test more resilient