fixed and tested block width calculation
added morelayout test specs