Update testing.rst

Fix example test code showing the test_client. Might have been a copy and paste mistake. Since in tutorial the first test run gives no errors.