Testing and layout