added isPhone widget
added test for isPhone widget