huge tests update; metrique.py funcs moved to utils; safe imports; default "shelve" container -> sqlite3 (from shelve)