Fixed tests for redmine 2+.
Merge pull request #7 from Undev/master

Fixed tests for redmine 2+.