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