Added SignatureTest
Fixed some warnings