Test for LocalOptimizedProtocol