fix test_hifi with multiple cores

fixes #331