Added test for overriding globals