Fix MongoDB sharded

@Nakomis can you please review.

I couldn't reproduce the other error you were seeing yet. Let's discuss again tomorrow, hopefully with these fixes in place.
Would this succeed if SERVICE_UP is null? May be clear to use assertEquals