#11 Added some inline comments to the rearrange test to make it bit more readable