test setting role then gender