fix test which use homepage