added test for createIfFileNotExist for successfull creation