added test for arrayWidget