Fix token get.
Add test for the ensures clones task.