I think it is ok to change the test here, the indexes are not useful anyway, and doing this, we can combine those 3 blocks into 1 function in the usermanager