add test for signature checking
hook up signature check