extract: fix tests