added MainFrameTest