Simplified echo test code.