name= selector does not function with names containing symbols or spaces
I grabbed 2 chicken spawn eggs and named 1. bosschicken & 2. boss chicken
I then made 2 command blocks to do a testfor those named entities and it only picked up the name: bosshchicken.
e.g. are shown in pic's