added test for is and isRange widget