Add tests for the service model's latest three metrics function