Added a test for getting global scope from Program node (refs #148)