fix test for extraction. fixes #314