4939. [test] Add basic unit tests for update_sigs(). [GL #135] (cherry picked from commit 4885809e) (cherry picked from commit 1f9b0cbc)