Removed debug code in structureextractor
Renamed testextractor to teststructureextractor, fixed docstrings.