new tests and refactoring for dimensions of displaylist