Implemented CategoryController update action.
Fixed a broken test