Added tests for Formatter.getFileExtension.
Martin