additional test case and better handling of lists of blocks