Add some widget testing
Fix a double import in object testing
Merge pull request #1604 from shughes-uk/more_testing

Add some widget testing and minor fix for object testing