CLOUD-306 fix unit tests