MDL-40356 lib: Unit tests for the alternativefullnameformat setting.