Tests for Signature class.