Fix tests and make random permalink 

In place of generate this: `foo-1, foo-2, foo-3, ...`

Generate something like this: `foo-3g4h5, foo-he49h, foo-7ue92`