Updated to redmine master and tests were fixed