Updated Test Cases to show failure of empty shortcuts directive
Fix error when parsing the plain "shortcuts" command.