added more tests for extraction