Suppress warnings
Simplify UserContext creation in tests