test for map with one entry introduced
MapBuilder class made generic