Correct failing map factory test