created the layout view and tests