added test_paste_magics_message