Testing client input handling