tests: Rework and clean up for server side examples