Tests for createfolder function