added tests for Signature