Testing and cleaning