Validating empty specs and specs without heading