Reworking extract_unit_information and its unit test
Simplified get_metadata
Simplified get_metadata useage
Continuing to improve unit test, tried to remove some naming ambiguity (text as an attribute instead of sentence as an attribute