Fix for PUB-830. Add Runit test to exercise anomaly detection method.