Refactoring of python tests to cope with changes to UDP picoapp