Creation of the unit test for the createOmegat function. Fixed a error in the createOmegat function.