Changes errors into warning
Adds tests for the setActionName method