Saves list of gems to db, passes tests