Fix pathauto locale test class