fix multiple iframes bug + allow multiple courseclasses + only allow
certificate generation when is approved on test