added test for payload