test self repeat puzzle