Added is_file_exists() to util.c that now checks for suggestions file validity

Modified how get_unique_filename() in testcases.c works.
After implementing is_file_exists(), many tests failed because file names returned by get_unique_filename() did not exist.
To overcome this, get_unique_filename() now always create a dummy file with the generated unique name.