this test does the package metadata extraction, database insertion and retrieval and compares the two dictionaries (the one returned by the extractor against the one returned by the database)