Testing different modes in TestService.

Assuming TestService supports multiple modes (at least, 'echo' and 'reverse').
Mode passed to TestService via command line argument.