test added in medViewContainerTest and minor corrections