Redefining WDM Testing and Network Optimization — Part I