Fix idempotence test

Fixes #1
Merge pull request #4 from Oefenweb/fix-idempotence-test

Fix idempotence test