adjusting test to ensure a slug is updated if required