add passing tests for C globals