02-commit.t: Added tests for detach_head()