I have seen this list of all the layouts provided by Moodle, but I am confused about which layout is used by a quiz (the page which displays the quiz) ?
Is it Standard.php or incourse.php which is used by the quiz?
Enable Site administration ► Development ► Debugging ► Show page information (debugpageinfo) and check the footer. Info like "General type: incourse." would appear there IIRC