test_detect: Fixing tests for CPU

Commit 0ddcf42c4739cf172fe371d5de001e1be9abd3cc used strings for every
items. As thoses from tests didn't got updated, the self test was
failing.