fix issue #1.
Merge pull request #2 from yohe/junit_fix

fix issue #1.