Fixed remote exceptions, added Set/List KeyValueSources, added unittests for remote exceptions, Set/List KeyValueSources