added failing test for unique_file_name
fixed issue#5. renaming when name collision found is good now.