Fixed potential issue with DTO tests which I found in Apollo scala
fixed AnyProtocolDetectionTest