add spec to cover showWidget

Covers #45