Fix controller tests to support HTTP PATCH method