Fix unit tests and push up tidepool-platform-client dependency