Merge "Test for malformed idsig." into sc-dev