Fixed the test_handle_complaint() test.

Fixed a careless mistake encoding the complaint
notification JSON.