added unit tests for Container