Go to your course
Enter the Control Panel
Find where you made the test available (Assignments, Course Documents, etc)
Find the test in question and click the "Modify" button
Click "Modify the test options"
Under "Test Information" there is a radio button yes and no for "Launch
Item in an External Window"; Select "No" and press the "Submit" button.