improved user test

bugfix in privilege management