added test for isEmpty validator widget