Fixed InvalidCastException

Fixes the bug where the extension method RouteTestingExtensions.ShouldMapTo throws an InvalidCastException when testing routes for a controller action that returns a value type (e.g. int or bool).