Added some tests for the FDMDataFactory class.
Added some comments.