Unit Tests : testDefine