Add test case for empty validator