unit testing ObjectService and DatastreamService