add one test for extract