Added unit test for BasicFileFunctions.php