Adds tests for unique names generation