Testing for file extensions handling