Automated tests for having a local variable pointing to a global array.