Create extractor test.

Closes #21.