EAGLESIX-2651: Map: fix optimize test case