Add test for validation of empty field definition