improve sync client test coverage to 95%