Check a valid user object was created

Change-Id: I2488e1fd3109ce66c2cb42d9afc78097f2b7313d