introduced a test in the END_SPEC command executor to check the command syntax