unit test for PositionController::createAction added: createActionAddsSingleCategory
prevent error when setting single category caused by wrong argument type (string vs. array)