finished layout rotes and associated test