Complete test of digital signature