Updated the unit test to correctly check for the payload marker on generating. Removed a duplicate test.