Fix time adjustment for test

Fix #8.
Merge pull request #9 from rinrinne/fix-time

Fix time adjustment for test