test signature and payload