Prevented plugins from taking over global scope
Got core tests working