add seed and fix author visit test