Add support for multi user in sr self test

support also done in sr_gui_self_test

fixed self test in simulation
fixed dependency