Extend blocks.c test to check changing global dimensions