Fixd the 'fragment and userinfo always null' tests