add tests around storage of anomalies
cleaning up tutorial