WRT MetricsPaxExamTest - given that both io.astefanutti.metrics.cdi.MetricProducer$Proxy$_$$_WeldClientProxy and io.astefanutti.metrics.cdi.MetricProducer have the same package it looks more like a class loader issue.