Testing, Monitoring, and Dating Structural Changes