Added test cases of container class.
Changed Container class to abstract class.