refactor test code
Merge pull request #4 from cenkalti/test

refactor test code