Add tests for corner cases and errors in getRawSigs