fix usermod calls in tests