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