Make all tests check for idempotence. fixes #57

Signed-off-by: Daira Hopwood <daira@jacaranda.org>