Fix compilation in KDoc tests