added test that verifies "globals" are being used