ref widget tests