Test remove_part