Complete tests for ServiceInstance.
Validate command context in config parsing.