Maybe you want to add a test where rename returns false?