layout and tests