added test case that validates the container
avoided manual output formatting of errors
improved container validation: do not abort with an exception if a class does not exists, instead register this as an error
refactoring: extracted method