Fix typo in test

cores specialization test 17.34 failed with bad assignment logic