Added COMPILE_DEFINITIONS to feature-based unit tests. In the future we need to extract COMPILE_DEFINITIONS to a variable and avoid duplicated code.