Improved test coverage for SnapshotApiRestTemplate and TmcApiRestTemplate