Possibly buggy implementation of UDP auto test