small refactor on alerts-service_spec