Tests for NotEmptyValidator