Adding globalToParent methods and tests