MIFOSX-1662 fix for integration test ClientTest and removing warnings