I think you want to explicitly set the value of `user.isAdmin` to `true` above, then check that it's actually `true`.  Testing for the presence of bool isn't going to tell us about whether the state is maintained.  You might also want an explicit `false` test too.