gustafn
committed
on 18 Nov 12
make test for user_switching more robust