@bernardtan: Test for derange.