[System.Web.DynamicData] Fixed test to verify the right behavior

The exception that is thrown is now consistent with MS.NET due to the imported System.ComponentModel.DataAnnotations code.