move tests
add testcase for extract/extract with seed