Fixed errors in accept invitation and check feed test