test/crypto: add test for corrupted signatures