test: update identity tests for on-device commitment API (M2 fix) and add malformed-commitment case 68de54f sal commited on 7 days ago