fix test viewCollection