public void GetAllSections()
        {
            Mock<ISectionRepository> mock = new Mock<ISectionRepository>();
            mock.Setup(a => a.Sections).Returns(new Section[]
            {
                new Section { id = 1, short_name = "IMZ1" },
                new Section { id = 2, short_name = "IMZ2" },
                new Section { id = 3, short_name = "IMZ3" },
                new Section { id = 4, short_name = "IMR1" },
                new Section { id = 5, short_name = "IMR2" }
            }.AsQueryable());

            SectionController ctrl = new SectionController(mock.Object);
            object[] allSections = ctrl.GetAllSections();
            Assert.AreEqual(allSections.Length, 5);
            Assert.AreEqual(((Section)allSections[2]).short_name, "IMZ3"); 
        }