testing/server: remove duplicate code

Fixing an old TODO.