fix referral test, update installation doc