Extends Frame tests and improves the QEXPECT_EXCEPTION macro.