wrote tests for Atrtibute Extraction and fixed attribute extractor
slightly