Minor fix to make test on array order agnostic
Mnor change to gitignore
Use plain ID instead of User object