Add better expectation on users handler tests
Remove warnings

[ci skip]