deployment descriptors - improved runtime manager test coverage

deployment descriptors - improved runtime manager test coverage.

Please check several TODOs in the code.