added test for not defined map exception