Added presence_error tests, added muc_close()