I added ``anomaly_base_test.cpp`` for unit test