testing/test_server: More clean up

Add response utility method and call it from a single place.

Change-Id: I614b7d254a5497fdabe948bb1902771bab3c5909
1 file changed