better way to set the test muc
Fix bug when switching frames to muc. Issue #3