Created test for NewController method