To pass tests, add user validation

Tests didn't pass without this change, at least in my setup.