fix test_hifi with multiple cores

Small fix for #331