[PATCH v4 13/13] tools: update test_hmm script to support SP config