Testing network optimizations