test for twice