Fixed tests for redmine 2+.