[PATCH v1 12/12] tools: update test_hmm script to support SP config