Add specs for createStyle and loadScript.