test for catching wrong paylod type
autopep8