Made generic.cv doc example compatible with testing framework