Remove unnecessary codes
Add a test-case, which is 'detach after attach a same node'
Rollback a test parameter, which is 'num of recursive calls'