Updating Microsoft.AspNet.Mvc.Core.Test to work on Mono

why did this and line 245 need to change?