small fix to payloadtests.py