add widget tests