[ALOY-1216] Add unit tests for PR625/selective compile
Merge pull request #645 from skypanther/ALOY-1216

[ALOY-1216] Add unit tests for PR625/selective compile