added test for beInArray widget