Rewrite testCustomValueExtraction