Add tests for metric firing.