Added scalar reading test to blocks.c