Improved Extractor testing

It's better to have one test per object. Also, the tests were not
functional, but unit tests.