Restrict unit tests for entity opening directives to sanctioned syntax