Handle root user in test