added test for isMax validator widget