[#43405249] Added unit tests for is_valid_file/is_valid_dir