Updated the main_frame test to use the profile fixture.