add length test for block