Testing and modularity