Bug 1006789 - [Messages] Add tests for appendThread() in thread_list_ui_test.js. r=azasypkin