Add spec to test scoping differences of blocks for Node.getOccurrences