Fix legacy-mvc unit test