added test for isPostcode widget